
package pkg3hge_plh24;


public class Restaurant {
    
    
    //Fields
    private int restId;
    private String name;
    private String address;
    private String phone;
    private String information;
    private String photo;
    private String description;
    private PriceRange priceRange;
    private Category category;
    private Area area;
    
    
//methods 
    //constractor
    public Restaurant (  int restId, String name, String address, String phone,
                        String information, String photo, String description,
                        PriceRange priceRange, Category category,Area area){
    this.restId= restId;
    this.name= name;
    this.address= address;
    this.phone= phone;
    this.information= information;
    this.photo= photo;
    this.description=description;
    this.priceRange=priceRange;
    this.category =category;
    this.area= area;
    }
    
    //getters
    public int getRestId(){
        return restId;
    }

    public String getName (){
        return name;
    }
            
    public String getAddress(){
        return address;
    }
         
    public String getPhone(){
        return phone;
    }
            
    public String getInformation(){
        return information;
    }
     
    public String getPhoto (){
        return photo;
    }
    
    public String getDescription(){
        return description;
    }
        
    public  PriceRange getPriceRange(){
        return priceRange;
    }
    
    public Category getCategory(){
        return category;
    }
    
    public Area getArea (){
        return area;
    }
    
 //Setters
    
   public void  setName(String name){
         this.name= name;
   }
   
   public void setAddress(String address){
       this.address= address;
   }
  
   public void setPhone (String phone){
       this.phone= phone;
   }
   
   public void setImformation (String information){
       this.information= information;
   }
       
   public void setPhoto(String photo){
       this.photo= photo;
   }
  public void setDescription (String description){
       this.description= description;
  }

  public void setPriceRange ( PriceRange priceRange){
      this.priceRange =priceRange;
  } 
  
  public void setCategory(Category category){
      this.category =category;
  }
  
  public void setArea (Area area){
       this.area= area;
  }
    
   
}